package com.run_java_test.tb.user.controller;

import com.run_java_test.tb.user.service.ITbUserService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author test
 * @since 2024-06-03
 */
@RestController
@RequestMapping("/tb-user")
public class TbUserController {
    @Resource
    private ITbUserService iTbUserService;

    @PostMapping("login")
    public String login() {
        iTbUserService.login();
        return "";
    }

}
